@echo off
cd "..\classes"
java IC.Compiler ..\test\ContextLegal\AnotherMainWithDiffSig.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\AnotherMainWithDiffSig.out
java IC.Compiler ..\test\ContextLegal\Array1.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\Array1.out
java IC.Compiler ..\test\ContextLegal\BreakInsideLoop.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\BreakInsideLoop.out
java IC.Compiler ..\test\ContextLegal\bubble.IC -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\bubble.out
java IC.Compiler ..\test\ContextLegal\ContinueInsideLoop.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\ContinueInsideLoop.out
java IC.Compiler ..\test\ContextLegal\example1.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\example1.out
java IC.Compiler ..\test\ContextLegal\example2.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\example2.out
java IC.Compiler ..\test\ContextLegal\IfElseIf.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\IfElseIf.out
java IC.Compiler ..\test\ContextLegal\NestedIf.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\NestedIf.out
java IC.Compiler ..\test\ContextLegal\ReturnOnIfElse.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\ReturnOnIfElse.out
java IC.Compiler ..\test\ContextLegal\SigCall1.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\SigCall1.out
java IC.Compiler ..\test\ContextLegal\SigCall2.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\SigCall2.out
java IC.Compiler ..\test\ContextLegal\SigCall3.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\SigCall3.out
java IC.Compiler ..\test\ContextLegal\StaticMethodHide.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\StaticMethodHide.out
java IC.Compiler ..\test\ContextLegal\SuperHasStatic.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\SuperHasStatic.out
java IC.Compiler ..\test\ContextLegal\SuperHasVirtual.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\SuperHasVirtual.out
java IC.Compiler ..\test\ContextLegal\UnaryOp.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\UnaryOp.out
java IC.Compiler ..\test\ContextLegal\UseField.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\UseField.out
java IC.Compiler ..\test\ContextLegal\UseFieldImplicit.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\UseFieldImplicit.out
java IC.Compiler ..\test\ContextLegal\UseMethod.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\UseMethod.out
java IC.Compiler ..\test\ContextLegal\UseMethodImplicit.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\UseMethodImplicit.out
java IC.Compiler ..\test\ContextLegal\UseStaticMethod.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\UseStaticMethod.out
java IC.Compiler ..\test\ContextLegal\UseStaticMethodImplicit.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\UseStaticMethodImplicit.out
java IC.Compiler ..\test\ContextLegal\UseVar.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\UseVar.out
java IC.Compiler ..\test\ContextLegal\VarHidesField.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\VarHidesField.out
java IC.Compiler ..\test\ContextLegal\VarHidesVar.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\VarHidesVar.out
java IC.Compiler ..\test\ContextLegal\VirtualMethodOverride.ic -print-ast -dump-symtab -L..\test\libic.sig > ..\test\ContextTestOutput\VirtualMethodOverride.out
cd "C:\Users\nimrod\Studies\Year3\Semester A\Compilation\Compiler\pa3\test\"
